package com.pan.kang.demo.contorller;

import com.pan.kang.core.EnablePostProcess;
import com.pan.kang.demo.model.CreateOrderModel;
import com.pan.kang.demo.support.CreateOrderPostProcessPlanProxy;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/order")
public class OrderController {

    @PostMapping("/V1.0/create")
    @EnablePostProcess(proxy = CreateOrderPostProcessPlanProxy.class)
    public void create(@RequestBody CreateOrderModel createOrderModel) {

    }
}
